package com.hsgene.consumables.condition;

import com.hsgene.common.util.date.SimpleDateUtils;
import com.hsgene.common.util.support.LimitHelper;
import com.hsgene.common.util.support.OrderHelper;

import java.util.Date;

/**
 * @desc:入库列表搜索条件
 * @author: fuxiang
 * @date: 2018/9/27 15:22
 */
public class PurchaseConditon {
    /**
     * 耗材名称
     */
    private String name;

    private String startTime;

    private String endTime;
    /**
     * 分页条件
     */
    private LimitHelper limitHelper;

    /**
     * 排序条件
     */
    private OrderHelper orderHelper;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public LimitHelper getLimitHelper() {
        return limitHelper;
    }

    public void setLimitHelper(LimitHelper limitHelper) {
        this.limitHelper = limitHelper;
    }

    public OrderHelper getOrderHelper() {
        return orderHelper;
    }

    public void setOrderHelper(OrderHelper orderHelper) {
        this.orderHelper = orderHelper;
    }


   /* public Date getStartTime() {
        return startTime;
    }*/

  /*  public void setStartTime(String startTimeStr) {
        this.startTime = SimpleDateUtils.parseDate(startTimeStr, SimpleDateUtils.DatePattern.YYYY_MM_DD.toString(), SimpleDateUtils.HourMinSecondFormat.MID_NIGHT);
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTimeStr) {
        this.endTime = SimpleDateUtils.parseDate(endTimeStr, SimpleDateUtils.DatePattern.YYYY_MM_DD.toString(), SimpleDateUtils.HourMinSecondFormat.MID_NIGHT);
    }*/

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
